package cn.mcartoon.mapper;
import  cn.mcartoon.pojo.MmChapterBuyRecord;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Component;

@Component
public interface MmChapterBuyRecordMapper {

	public MmChapterBuyRecord getMmChapterBuyRecordById(@Param(value = "id") Long id);

	public List<MmChapterBuyRecord>	getMmChapterBuyRecordListByMap(Map<String,Object> param);

	public Integer getMmChapterBuyRecordCountByMap(Map<String,Object> param);

	public Integer insertMmChapterBuyRecord(MmChapterBuyRecord mmChapterBuyRecord);

	public Integer updateMmChapterBuyRecord(MmChapterBuyRecord mmChapterBuyRecord);

	public Integer deleteMmChapterBuyRecordById(@Param(value = "id") Long id);

	public Integer batchDeleteMmChapterBuyRecord(Map<String,List<String>> params);

}
